﻿using M.Core.RmoteCall.RpcCall;
using System;
using System.Collections.Generic;
using System.Text;
using Thrift;

namespace M.Core.RmoteCall
{
    public class ErrorHandler
    {
        public static void handler(Exception applicationException)
        {
            var val = CallModel.threadLocal.Value;
            if (val != null) val.GetInnerObject().ReSet();
        }
    }
}
